Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bsr bump spectree #7617

Merged
merged 8 commits into from
Aug 14, 2023
Merged

Bsr bump spectree #7617

merged 8 commits into from
Aug 14, 2023

Conversation

lixxday
Copy link
Contributor

@lixxday lixxday commented Aug 3, 2023

But de la pull request

Bump spectree
En effet, selon leur doc, pydantic v2 est supporté seulement à partir de la 1.2
Et on veut pydantic v2

Changelog de SpecTree: https://github.com/0b01001001/spectree/releases

Ticket Jira (ou description si BSR) : PC-23699

Vérifications

  • J'ai écrit les tests nécessaires
  • J'ai relu attentivement les migrations, en particulier pour éviter les locks, et je préviens les équipes Shérif et Data
  • J'ai ajouté des screenshots pour d'éventuels changements graphiques

@lixxday lixxday force-pushed the bsr-bump-spectree branch 2 times, most recently from add347d to 73d7b84 Compare August 10, 2023 09:54
Copy link
Contributor

@dbaty dbaty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Top, merci pour ce chouette boulot. ❤️

@lixxday lixxday force-pushed the bsr-bump-spectree branch 2 times, most recently from fc0d003 to 2c1f26b Compare August 11, 2023 07:54
I checked, the operationId is not used by the frontend, this is not a breaking change for us
What's new:
- spectree now handles form in requests
- spectree considers empty body as not json. Therefore I added a header to tell spectree validators to expect json if body is None
I specifically commit that separately because I am not 100% confident this actually tests the same thing
@github-actions
Copy link
Contributor

Visit the preview URL for this PR (updated for commit 33308e8):

https://pc-pro-testing--pr7617-bsr-bump-spectree-6lkuek4v.web.app

(expires Wed, 16 Aug 2023 15:51:39 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 032d233ee67e1c50d6af12e29c936c7076770eb1

@lixxday lixxday merged commit 50f88a0 into master Aug 14, 2023
6 checks passed
@lixxday lixxday deleted the bsr-bump-spectree branch August 14, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants